[INFO] cloning repository https://github.com/finn-rudolph/rhok
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/finn-rudolph/rhok" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinn-rudolph%2Frhok", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinn-rudolph%2Frhok'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6b413650409ecc5bc33febafb6064e88d10a1cb8
[INFO] checking finn-rudolph/rhok against master#f28ac764c36004fa6a6e098d15b4016a838c13c6 for pr-158320
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinn-rudolph%2Frhok" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/finn-rudolph/rhok
[INFO] finished tweaking git repo https://github.com/finn-rudolph/rhok
[INFO] tweaked toml for git repo https://github.com/finn-rudolph/rhok written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/finn-rudolph/rhok on toolchain f28ac764c36004fa6a6e098d15b4016a838c13c6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f28ac764c36004fa6a6e098d15b4016a838c13c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/finn-rudolph/rhok already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f28ac764c36004fa6a6e098d15b4016a838c13c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rug v1.24.0
[INFO] [stderr]   Downloaded gmp-mpfr-sys v1.6.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2bc36edd7a1250c30b4723f4df08741a525d9343abedd10c63f636ba960277a2
[INFO] running `Command { std: "docker" "start" "2bc36edd7a1250c30b4723f4df08741a525d9343abedd10c63f636ba960277a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2bc36edd7a1250c30b4723f4df08741a525d9343abedd10c63f636ba960277a2" "/opt/rustwide/cargo-home/bin/cargo" "+f28ac764c36004fa6a6e098d15b4016a838c13c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2bc36edd7a1250c30b4723f4df08741a525d9343abedd10c63f636ba960277a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2bc36edd7a1250c30b4723f4df08741a525d9343abedd10c63f636ba960277a2" "/opt/rustwide/cargo-home/bin/cargo" "+f28ac764c36004fa6a6e098d15b4016a838c13c6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling gmp-mpfr-sys v1.6.2
[INFO] [stderr]    Compiling rug v1.24.0
[INFO] [stderr]     Checking rhok v1.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> src/formula.rs:96:29
[INFO] [stdout]    |
[INFO] [stdout] 96 |     x.iter().fold(1, |a, b| (a * (b / gcd(a, *b))))
[INFO] [stdout]    |                             ^                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -     x.iter().fold(1, |a, b| (a * (b / gcd(a, *b))))
[INFO] [stdout] 96 +     x.iter().fold(1, |a, b| a * (b / gcd(a, *b)) )
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> src/formula.rs:96:29
[INFO] [stdout]    |
[INFO] [stdout] 96 |     x.iter().fold(1, |a, b| (a * (b / gcd(a, *b))))
[INFO] [stdout]    |                             ^                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -     x.iter().fold(1, |a, b| (a * (b / gcd(a, *b))))
[INFO] [stdout] 96 +     x.iter().fold(1, |a, b| a * (b / gcd(a, *b)) )
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `divisors` is never read
[INFO] [stdout]  --> src/formula.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Phi {
[INFO] [stdout]   |        --- field in this struct
[INFO] [stdout] 8 |     phi: Vec<u64>,
[INFO] [stdout] 9 |     divisors: Vec<Vec<u64>>,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `divisors` and `gcd_probability` are never used
[INFO] [stdout]   --> src/formula.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Phi {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn divisors(&self, n: u64) -> &Vec<u64> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     fn gcd_probability(&self, n: u64, d: u64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `divisors` is never read
[INFO] [stdout]  --> src/formula.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Phi {
[INFO] [stdout]   |        --- field in this struct
[INFO] [stdout] 8 |     phi: Vec<u64>,
[INFO] [stdout] 9 |     divisors: Vec<Vec<u64>>,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `divisors` and `gcd_probability` are never used
[INFO] [stdout]   --> src/formula.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Phi {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn divisors(&self, n: u64) -> &Vec<u64> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     fn gcd_probability(&self, n: u64, d: u64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 17s
[INFO] running `Command { std: "docker" "inspect" "2bc36edd7a1250c30b4723f4df08741a525d9343abedd10c63f636ba960277a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2bc36edd7a1250c30b4723f4df08741a525d9343abedd10c63f636ba960277a2", kill_on_drop: false }`
[INFO] [stdout] 2bc36edd7a1250c30b4723f4df08741a525d9343abedd10c63f636ba960277a2
